from django.contrib import admin
from django.urls import path, re_path, include
from django.conf import settings
from django.views.static import serve
from apps.common import urls as common_urls
from apps.home import urls as home_urls
from apps.user import urls as user_urls
from apps.stall import urls as stall_urls

urlpatterns = [
    path('admin/', admin.site.urls),
    re_path('media/(?P<path>.*)', serve, {'document_root': settings.MEDIA_ROOT}),
    path('common/', include(common_urls)),
    path('home/', include(home_urls)),
    path('user/', include(user_urls)),
    path('stall/', include(stall_urls)),
]
